Joel Rodrigues <borgempath@Phreaker.net> wondered:
>
>I just looked in /Library/Java/Home, and there are 2 aliases,
>"doc" & "include", which lead nowhere, i.e. "the original item
>could not be found". Is that normal ?
I haven't followed the entire thread, but the link for "include" should work - it's possible that that's causing the
problemsyou're seeing. The link for "doc" doesn't work for me here. Here's what I have on 10.1.5 with Apple's stock
install(plus developer tools, natch):
The symbolic links in /Library/Java/Home/ are to ../Documentation and
../Headers respectively.
However, /Library/Java/Home/ is itself a symlink to:
/System/Library/Frameworks/JavaVM.framework/Home/
Where /System/Library/Frameworks/JavaVM.framework/Home/ is symlinked to
Versions/CurrentJDK/Home (with CurrentJDK symlinked to 1.3.1)
So, ultimately /Library/Java/Home/include should take you to:
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
You can test that this directory exists:
% ls -ld \
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
drwxr-xr-x 8 root wheel 228 Apr 1 20:29 /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
And that all the symbolic links point in the right places:
% ls -ld \
/Library/Java/Home \
/Library/Java/Home/include \
/System/Library/Frameworks/JavaVM.framework/Home \
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
(The meat of output for this is:)
/Library/Java/Home -> /System/Library/Frameworks/JavaVM.framework/Home
/Library/Java/Home/include -> ../Headers
/System/Library/Frameworks/JavaVM.framework/Home -> Versions/CurrentJDK/Home
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> 1.3.1
Hopefully this will help,
-Charles
charlesa@pobox.com
--
Charles Albrecht Euonymic Solutions
charlesa@pobox.com P.O. Box 300623
C>303.619.7596 F>978.334.3061 Denver, Colorado 80203-0623
http://www.euonymic.net/~charlesa/cv/